package com.regex.web.entity.community;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.regex.web.entity.AutoIdBaseEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author mhy
 * @since 2019-12-31
 */
@TableName("t_notice")
public class NoticeDTO extends AutoIdBaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField("title")
    private String title;

    @TableField("type")
    private String type;

    @TableField("village_id")
    private Long villageId;

    @TableField("source")
    private String source;

    /**
     * 图片url
     */
    @TableField("pic_url")
    private String picUrl;

    @TableField("content")
    private String content;

    @TableField("read_count")
    private Integer readCount;

    @TableField("state")
    private String state;

    /**
     * 是否推送 0 未推送 1 已推送
     */
    @TableField("is_send")
    private String isSend;

    @TableField("is_top")
    private String isTop;

    /**
     * 审核状态
     */
    @TableField("audit")
    private Long audit;

    /**
     * 创建者
     */
    @TableField("create_user")
    private Long createUser;

    /**
     * 审核者
     */
    @TableField("audit_user")
    private Long auditUser;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;
    
    @TableField(exist = false)
    private String villageName; // 小区名称
    @TableField(exist = false)
    private String typeName;   // 类型名称
    @TableField(exist = false)
    private List<String> picUrlList;// 图片urlList
    @TableField(exist = false)
    private int likeCount; // 点赞数量
    @TableField(exist = false)
    private int commentCount;// 评论数量
    @TableField(exist = false)
    private String timeAgo; // 创建时间转换为str
    @TableField(exist = false)
    private int shareCount; // 分享数量
    @TableField(exist = false)
    private String headPic; // 头像
    @TableField(exist = false)
    private String isLike;// 0 未点赞 1 已点赞
    @TableField(exist = false)
    private String stateStr; // 活动状态
    @TableField(exist = false)
    private Integer commontAuditCount;//评论待审核数量
    @TableField(exist = false)
    private String shareContent; // 分享内容
    @TableField(exist = false)
    private String shareImgUrl; // 分享图片链接
    @TableField(exist = false)
    private String nickName; // 昵称
    
    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getShareImgUrl() {
        return shareImgUrl;
    }

    public void setShareImgUrl(String shareImgUrl) {
        this.shareImgUrl = shareImgUrl;
    }

    public String getShareContent() {
        return shareContent;
    }

    public void setShareContent(String shareContent) {
        this.shareContent = shareContent;
    }

    public String getVillageName() {
        return villageName;
    }

    public void setVillageName(String villageName) {
        this.villageName = villageName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public List<String> getPicUrlList() {
        return picUrlList;
    }

    public void setPicUrlList(List<String> picUrlList) {
        this.picUrlList = picUrlList;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public String getTimeAgo() {
        return timeAgo;
    }

    public void setTimeAgo(String timeAgo) {
        this.timeAgo = timeAgo;
    }

    public int getShareCount() {
        return shareCount;
    }

    public void setShareCount(int shareCount) {
        this.shareCount = shareCount;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getIsLike() {
        return isLike;
    }

    public void setIsLike(String isLike) {
        this.isLike = isLike;
    }

    public String getStateStr() {
        return stateStr;
    }

    public void setStateStr(String stateStr) {
        this.stateStr = stateStr;
    }

    public Integer getCommontAuditCount() {
        return commontAuditCount;
    }

    public void setCommontAuditCount(Integer commontAuditCount) {
        this.commontAuditCount = commontAuditCount;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    
    public Long getVillageId() {
        return villageId;
    }

    public void setVillageId(Long villageId) {
        this.villageId = villageId;
    }
    
    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
    
    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }
    
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    
    public Integer getReadCount() {
        return readCount;
    }

    public void setReadCount(Integer readCount) {
        this.readCount = readCount;
    }
    
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    
    public String getIsSend() {
        return isSend;
    }

    public void setIsSend(String isSend) {
        this.isSend = isSend;
    }
    
    public String getIsTop() {
        return isTop;
    }

    public void setIsTop(String isTop) {
        this.isTop = isTop;
    }
    
    public Long getAudit() {
        return audit;
    }

    public void setAudit(Long audit) {
        this.audit = audit;
    }
    
    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }
    
    public Long getAuditUser() {
        return auditUser;
    }

    public void setAuditUser(Long auditUser) {
        this.auditUser = auditUser;
    }
    
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return super.pkVal();
    }

    @Override
    public String toString() {
        return "NoticeDTO{" +
        "title=" + title +
        ", type=" + type +
        ", villageId=" + villageId +
        ", source=" + source +
        ", picUrl=" + picUrl +
        ", content=" + content +
        ", readCount=" + readCount +
        ", state=" + state +
        ", isSend=" + isSend +
        ", isTop=" + isTop +
        ", audit=" + audit +
        ", createUser=" + createUser +
        ", auditUser=" + auditUser +
        ", remark=" + remark +
        "}";
    }
}
